﻿using System.Collections.Generic;
using System.Linq;

namespace BlogOutModell
{
    public class BlogDB
    {
        public static readonly BlogOutModelContainer Context = DB.Context;

        public List<Blog> GetAllBlogs()
        {
            return Context.Blogs.ToList();
        }
    }
}